﻿using Microsoft.Extensions.Caching.Memory;
using MyCode.Data.Models;
using MyCode.Data.VIewModels;
using System;
using System.Collections.Generic;
using System.Text;

namespace MyCode.Application
{
    public interface ISys_Module
    {
        List<Sys_ModuleVM> GetModule(string roleID,string type);
        /// <summary>
        /// 获取全部数据
        /// </summary>
        /// <returns></returns>
        List<Sys_ModuleVM> GetAllModule();
        /// <summary>
        /// 增加或者修改
        /// </summary>
        /// <returns></returns>
        Tuple<bool, string> AddOrUpdate();
    }
}
